<%@page contentType="text/html; charset=utf-8" %>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>回访登记</title>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public.js"></script>
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css" />

</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" class="window_head_outBg">
    	<table border="0" cellpadding="0" cellspacing="0">
	      <tr>
	        <td>
	        	<span class="window_head_intext">
	        		<img src="${ctx}/images/ico_Advance.gif" align="absmiddle" /> 抽检登记详细
	        	</span>
	        </td>
	      </tr>
    	</table>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_2"></td>
  </tr>
  <tr>

    <td colspan="2" class="content">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="aux_outtable_color">
		<div  style="height:410px;overflow:auto;">
		<table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">
          <tr>
			<td class="aux_intable_td1">回访方式：</td>
            <td class="aux_intable_td2">
				${returnVisitWaryVO.name}
			</td>
            <td width="5%" class="aux_intable_td1">联系人：</td>
            <td width="10%" class="aux_intable_td2">
            	${checkRecord.client}
            </td>
          </tr>
          <tr>
            <td class="aux_intable_td1">房 号：</td>
            <td class="aux_intable_td2">
            	${checkRecord.houseNumber}
            </td>
            <td class="aux_intable_td1">详细地点：</td>
            <td class="aux_intable_td2">
            	${checkRecord.fullAddress}
            </td>
          </tr>
          <tr>
              <td class="aux_intable_td1">回访人：</td>
              <td class="aux_intable_td2">
	              <table border="0" cellspacing="0" cellpadding="0">
	                <tr>
	                  <td>
							${checkRecord.recorder}
	                  </td>

	                </tr>
	              </table>
              </td>
              <td class="aux_intable_td1">回访日期：</td>
              <td class="aux_intable_td2">
              	<table border="0" cellspacing="0" cellpadding="0">
	                <tr>
	                  <td>
							${checkRecord.recordTime}
	                  </td>
	                </tr>
              	</table>
              </td>
          </tr>
		  <tr>
            <td valign="top" class="aux_intable_td1">回访情况概述：</td>
            <td colspan="3" class="aux_intable_td2">
              ${checkRecord.summarize}
            </td>
          </tr>
          <tr>
			<td valign="top" class="aux_intable_td1">回访状态：</td>
			<td colspan="3" class="aux_intable_td2">
				<c:choose>
					<c:when test="${checkRecord.validity eq 1}">正 常</c:when>
					<c:when test="${checkRecord.validity eq 0}">作 废</c:when>
				</c:choose>
			</td>
          </tr>
          <c:if test="${checkRecord.validity eq 0}">
	          <tr>
				<td valign="top" class="aux_intable_td1">作废原因：</td>
				<td colspan="3" class="aux_intable_td2">${checkRecord.remark}</td>
	          </tr>
          </c:if>
          <tr>
            <td colspan="4" class="aux_titletable">回访内容</td>
          </tr>
          <c:forEach items="${returnVisitItemList}" var="returnVisitItem">
          	<tr>
          		<td valign="top" class="aux_intable_td1">
          			${returnVisitItem.name}：
          		</td>
          		<c:forEach items="${checkRecord.questionAndAnswerSet}" var="questionAndAnswerItem">
          			<c:if test="${questionAndAnswerItem.returnVisitItemID eq returnVisitItem.keyword}">
          				<c:set var="item" value="${questionAndAnswerItem}"></c:set>
		           </c:if>
	          	</c:forEach>
	          		<td colspan="3" valign="top" class="aux_intable_td2">
	          			<c:choose>
	          				<c:when test="${item.answer eq 'A'}">是</c:when>
	          				<c:when test="${item.answer eq 'B'}">否</c:when>
	          			</c:choose>

		            </td>
		          	</tr>
			          <tr>
			            <td valign="top" class="aux_intable_td1">备 注：</td>
			            <td colspan="3" class="aux_intable_td2">
			              ${item.remark}
						</td>
			          </tr>
					<c:set var="item" value="${null}"></c:set>
          </c:forEach>
        </table>
		</div></td>
      </tr>
    </table></td>
    </form>
  </tr>
  <tr>

    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
        </td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32"
              			onClick="windowClose();"
              			onMouseOver="btn_change_over(3)"
              			onMouseOut="btn_change_out(3)"
              			onBlur="btn_change(3)">
              			<img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom" />关 闭</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <p>&nbsp;</p></td>
  </tr>
</table>
</body>
</html>